﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<mediatheque.oeuvre>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">id</div>
        <div class="display-field"><%: Model.id %></div>
        
        <div class="display-label">titre</div>
        <div class="display-field"><%: Model.titre %></div>
        
        <div class="display-label">auteur</div>
        <div class="display-field"><%: Model.auteur %></div>
        
        <div class="display-label">date_publication</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.date_publication) %></div>
        
        <div class="display-label">date_edition</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.date_edition) %></div>
        
        <div class="display-label">duree_totale</div>
        <div class="display-field"><%: Model.duree_totale %></div>
        
        <div class="display-label">nb_pages</div>
        <div class="display-field"><%: Model.nb_pages %></div>
        
        <div class="display-label">type</div>
        <div class="display-field"><%: Model.type %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

